From e6e229039c05179ce43b96b9c2a4f4642e2a41cf Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Wed, 26 Aug 2020 22:34:50 +0100 Subject: [PATCH] Fix typos Author: Rebecca N. Palmer Origin: lintian Forwarded: not-needed (already fixed) Gbp-Pq: Name spelling.patch --- pandas/_libs/lib.pyx | 2 +- pandas/core/arrays/boolean.py | 2 +- pandas/core/arrays/integer.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx index 87d9394b..607d69be 100644 --- a/pandas/_libs/lib.pyx +++ b/pandas/_libs/lib.pyx @@ -2012,7 +2012,7 @@ def maybe_convert_objects(ndarray[object] objects, bint try_float=0, If an array-like object contains only timedelta values or NaT is encountered, whether to convert and return an array of m8[ns] dtype. convert_to_nullable_integer : bool, default False - If an array-like object contains only interger values (and NaN) is + If an array-like object contains only integer values (and NaN) is encountered, whether to convert and return an IntegerArray. Returns diff --git a/pandas/core/arrays/boolean.py b/pandas/core/arrays/boolean.py index 9eeed421..76d8c48c 100644 --- a/pandas/core/arrays/boolean.py +++ b/pandas/core/arrays/boolean.py @@ -390,7 +390,7 @@ class BooleanArray(BaseMaskedArray): Returns ------- array : ndarray or ExtensionArray - NumPy ndarray, BooleanArray or IntergerArray with 'dtype' for its dtype. + NumPy ndarray, BooleanArray or IntegerArray with 'dtype' for its dtype. Raises ------ diff --git a/pandas/core/arrays/integer.py b/pandas/core/arrays/integer.py index 96fdd8ee..3b4aeb59 100644 --- a/pandas/core/arrays/integer.py +++ b/pandas/core/arrays/integer.py @@ -439,7 +439,7 @@ class IntegerArray(BaseMaskedArray): Returns ------- array : ndarray or IntegerArray - NumPy ndarray or IntergerArray with 'dtype' for its dtype. + NumPy ndarray or IntegerArray with 'dtype' for its dtype. Raises ------ -- 2.30.2